<?php
if (!isset($nav))
    $nav = "";
?>

<!doctype html>
<!--[if lt IE 7]> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" lang="es-AR" class="glar no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" lang="es-AR" class="glar no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" lang="es-AR" class="glar no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" lang="es-AR" class="glar no-js"> <!--<![endif]-->
        <head>
            <meta http-equiv="content-type" content="text/html;charset=utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 
            <link href="/favicon.ico" type="image/x-icon" rel="icon" /><link href="<?php echo base_url() ?>images/favicon.ico" type="image/x-icon" rel="shortcut icon" /> 
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
            <meta name="google-site-verification" content="bUOCJ6EDH4jqhxt05vl2ehCg0-t0m_SJNOH-NvdrWLw" />
            <meta name="robots" content="index, follow" /> 
            <meta name="googlebot" content="index, follow" /> 
            <meta name="distribution" content="global" /> 
            <meta name="audience" content="all" /> 
            <meta name="geo.position" content="-34.612972;-68.332279" /> 
            <meta name="geo.placename" content="San Rafael, Mendoza, Argentina" /> 
            <title><?php echo $title ?></title>
            <?php if (isset($description)): ?>
                <meta name="description" content="<?php echo $description ?>">
                <?php endif ?>
                <?php if (isset($keywords)): ?>
                    <meta name="keywords" content="san rafael, <?php echo $keywords ?>">
                <?php endif ?>
                    <link type="text/css" href="<?php echo base_url() ?>css/grid960/960.css" rel="stylesheet" />
                    <link type="text/css" href="<?php echo base_url() ?>css/grid960/reset.css" rel="stylesheet" />
                    <link type="text/css" href="<?php echo base_url() ?>css/grid960/text.css" rel="stylesheet" />
                    <link type="text/css" href="<?php echo base_url() ?>css/base.css" rel="stylesheet" /> 
                    <link type="text/css" href="<?php echo base_url() ?>css/menu.css" rel="stylesheet" />
                    <link type="text/css" href="<?php echo base_url() ?>css/slider/featured_slide.css" rel="stylesheet" />
                    <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
                        <script type="text/javascript" src="<?php echo base_url() ?>js/analytics.js"></script>
                        <!-- <script type="text/javascript" src="js/gmas.js"></script>
                        <script type="text/javascript" src="js/megusta.js"></script> -->
                        <script type="text/javascript" src="<?php echo base_url() ?>js/jquery/jquery.js"></script>
                        <script type='text/javascript' src='<?php echo base_url() ?>js/slider/jquery.cycle.min.js'></script>
                        <script type='text/javascript' src='<?php echo base_url() ?>js/slider/jquery.cycle.setup.js'></script>
                        <script type='text/javascript' src='<?php echo base_url() ?>js/slider/jquery.slidepanel.setup.js'></script>
                        <script type="text/javascript" src="<?php echo base_url() ?>js/slider/s3Slider.js"></script>
                        <?php if (isset($css)): ?>
                            <?php foreach ($css as $var): ?>
                                <link type="text/css" href="<?php echo base_url() . $var ?>.css" rel="stylesheet" />
                            <?php endforeach ?>
                        <?php endif; ?>
                        <?php if (isset($js)): ?>
                            <?php foreach ($js as $var): ?>
                                <script type="text/javascript" src="<?php echo base_url() . $var ?>.js"></script>
                            <?php endforeach; ?>
                        <?php endif; ?>
                        </head>
                        <body>
                            <div class="container_12" id="contenedor_principal" >
                                <div class="grid_12" id="div_images">

                                    <div class="grid_5 alpha" id="div_logo" itemscope itemtype="http://schema.org/WebPage" > 
                                        <a title="" href="<?php echo base_url() ?>"><img itemprop="ImageObject" alt="Tu Indice Digital" id="img_div_logo" src="<?php echo base_url() ?>images/logooo.png" /></a>
                                        <p itemprop="Specialty">El rincón sanrafaelino en la web... </p>
                                    </div>

                                    <div class="grid_4">
                                       <!-- <a href="https://www.facebook.com/tu.indice.digital"> <img title="facebook" alt="facebook" src="<?php echo base_url(); ?>/images/redes/facebook.png" align="right" style="margin-right: 10px"> </a>
                                        <a href="https://twitter.com/tuindicedigital"> <img title="twitter" alt="twitter" src="<?php echo base_url(); ?>/images/redes/twitter.png" align="right" style="margin-right: 10px"> </a>
                                        <a href="https://plus.google.com/110807024266684049515"> <img title="google" rel="publisher" alt="g+" src="<?php echo base_url(); ?>/images/redes/googleplus.png" align="right" style="margin-right: 10px"> </a>
                                        <div class="g-plusone" data-size="small" data-href="https://plus.google.com/110807024266684049515/"></div>
                                        <div class="fb-like" data-href="https://www.facebook.com/tu.indice.digital" data-send="false" data-layout="button_count" data-width="200" data-show-faces="false" data-font="arial"></div> -->
                                        <img src="<?php echo base_url() ?>images/Beta-Image.jpg" alt="En_construcción " style="margin-top: 10px; margin-left: 350px;" />
                                    </div>
                                </div>
                                <div class="clear"> </div>
                                <div class="grid_12" >
                                    <div id="navbar">  
                                        <span class="inbar">  
                                            <ul itemscope itemtype="http://schema.org/WebPage"> 
                                                <li itemprop="breadcrumb" <?php echo $var = ($nav == 'index') ? 'class="navhome"' : ''; ?>><a href="<?php echo base_url(); ?>"><span>Inicio</span></a></li>  
                                                <li itemprop="breadcrumb" <?php echo $var = ($nav == 'info') ? 'class="navhome"' : ''; ?> ><a title="Quienes somos, y cual es nuestro objetivo." href="<?php echo base_url(); ?>nosotros.html"><span>Nosotros</span></a></li>  
                                                <li itemprop="breadcrumb" <?php echo $var = ($nav == 'contacto') ? 'class="navhome"' : ''; ?> ><a title="Su consulta sera respondida rapidamente." href="<?php echo base_url(); ?>contacto.html"><span>Contacto</span></a></li>  
                                                <li itemprop="breadcrumb" <?php echo $var = ($nav == 'politica') ? 'class="navhome"' : ''; ?>  ><a title="Nuestro términos de privacidad." href="<?php echo base_url(); ?>politica-de-privacidad.html"><span>Política de Privacidad</span></a></li>  
                                            </ul>  
                                        </span>  
                                    </div>  
                                </div>